home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_200
/
266_01
/
bike89.pic
< prev
next >
Wrap
Text File
|
1990-06-15
|
1KB
|
40 lines
* Illustrates plots to separate y axes (left and right),
* a word axis, and labelling of plot points.
PIC
HUE white
TITLE at 3.5 4.25 font 2 text Bicycle Mileage 1989
TITLE at .1,2.75 ver font 2 text MONTHLY
TITLE at 6.85,2.9 ver font 2 text CUMULATIVE
AREA at .5,.5 size 6 by 4
* Build month word axis
AXIS left to 4 invisible
AXIS below to 13 invisible
ISO
LABEL at 1,-.2 font 2 text JAN
LABEL at 2,-.2 font 2 text FEB
LABEL at 3,-.2 font 2 text MAR
LABEL at 4,-.2 font 2 text APR
LABEL at 5,-.2 font 2 text MAY
LABEL at 6,-.2 font 2 text JUN
LABEL at 7,-.2 font 2 text JUL
LABEL at 8,-.2 font 2 text AUG
LABEL at 9,-.2 font 2 text SEP
LABEL at 10,-.2 font 2 text OCT
LABEL at 11,-.2 font 2 text NOV
LABEL at 12,-.2 font 2 text DEC
* Plot cumulative line
HUE lime
AXIS right to 2500 boxes 5
LINE file BIKE89.DAT items 1 3
LABEL at 12,2500 text 2475.6
* Plot monthly bars
HUE lemon
AXIS left to 500 boxes 5
BARS file BIKE89.DAT items 1 2 hatch left gap 2
* Show value of tallest bar
LABEL at 7,325 text 319
* Reference line at average monthly mileage
HUE peach
ISO sparse at 206.3
LABEL at .2,215 left text AVERAGE 206.3